package com.util;

/**
 * <b>系统常量</b>
 * @author 赵刚
 * @version bata 1.0
 * 
 */
public class Constant {
   
	public static final String VSERION = "bata 1.0";

	public static String SERVLET_MAPPING = "*.do";

	public static final String CHARSET = "UTF-8";

	public static String ROOTPATH = "/";
	
	public static int APPLICTIONTABLE_TYPE = 0;
	
	public static int BASETABLE_TYPE = 1;
	
	public static int DB_ORACLE = 1;
	
	public static int DB_MYSQL = 2;
	
	public static int DB_SQLSERVER = 3;
	
	public static int SYNC_SLEEP_TIME = 1000*60*60;
	
    public static String FILE_UPLOAD_PATH="/photo";
    
    public static String PK_FILEPATH = "";
    
    public static String PK_WEBPATH = "/photo/";
    /*****接口登陆用户名称****/
    public static String username="admin";
    
    /*****接口登陆用户密码****/
    public static String mima="123456";
    
    /*****接口登陆密钥****/
    public static String miyao="y1uUuBiikf0a5FHZ";
    
    public static String url="";
    
    public static String url2="";
    static {
  	   if(System.getProperty("os.name").toLowerCase().startsWith("win")){  
  		   /***基数核定魔板下载路径 */
  		   url2="D:\\upload\\tmp\\";
  		   /*****基数核定生成路径****/
  		   url="D:\\upload\\tmp\\公积金基数核对清单_";
  		   /*****图片上传路径******/
  		   PK_FILEPATH = "c:/tmp/photo/";
  		   
  		}else{
  		   /***基数核定魔板下载路径 */
  		    url2="/upload/tmp/";
  		   /*****基数核定生成路径****/
  		   url="/upload/tmp/公积金基数核对清单_";
  		   /*****图片上传路径******/
  		   PK_FILEPATH = "/userfile/webfile/photo/";
  		}     
      }
   
    
    
}
